-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
4.21.2
-
Code
-
Classes
- ShortPixelPlugin
Total Complexity |
62 |
Dependencies |
14 |
Dependents |
1 |
Total lines |
418 |
Lines of code |
236 |
Logical lines of code |
152 |
Comment lines |
78 |
Methods |
22 |
Properties |
9 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
route() |
A |
44 |
11 |
47 |
initHooks() |
A |
49 |
8 |
28 |
activatePlugin() |
S |
57 |
5 |
16 |
deactivatePlugin() |
S |
60 |
4 |
12 |
lowInit() |
S |
56 |
3 |
18 |
load_admin_scripts() |
S |
59 |
3 |
16 |
uninstallPlugin() |
S |
61 |
3 |
11 |
load_script() |
S |
64 |
3 |
11 |
load_style() |
S |
64 |
3 |
11 |
admin_pages() |
S |
63 |
3 |
9 |
getInstance() |
S |
70 |
2 |
7 |
plugin_url() |
S |
70 |
2 |
6 |
plugin_path() |
S |
70 |
2 |
6 |
settings() |
S |
73 |
2 |
5 |
initPluginRunTime() |
S |
91 |
1 |
2 |
admin_scripts() |
S |
62 |
1 |
10 |
fileSystem() |
S |
80 |
1 |
3 |
env() |
S |
80 |
1 |
3 |
getShortPixel() |
S |
82 |
1 |
3 |
get_admin_pages() |
S |
82 |
1 |
3 |
init() |
S |
77 |
1 |
4 |
__construct() |
S |
72 |
1 |
5 |